package com.suyx.job.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.suyx.job.entity.Result;
import com.suyx.job.entity.TuInfoLog;
import com.suyx.job.service.ITuInfoLogService;

import lombok.extern.slf4j.Slf4j;

/**
 * @Auther: lanyanhua
 * @Date: 2018/11/5 0005 14:58
 * @Description:
 */
@Slf4j
@RestController
@RequestMapping("/tuInfoLog")
public class TuInfoLogController {


    private ITuInfoLogService logService;
    @Autowired
    public TuInfoLogController(ITuInfoLogService logService) {
        this.logService = logService;
    }

    @GetMapping("/findTuInfoLogAll")
    public Object findJobLogAll(TuInfoLog tuInfoLog, Integer page, Integer limit) {
        return logService.findTuPage(tuInfoLog, page - 1, limit);
    }
    
}
